var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        im.dispose();
        return
    }(d == 1) ? status++ : status--;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        im.dispose()
    } else {
        if (status === a++) {
            im.askYesNo("不知道会发生什么事情，请一定要小心。\r\n#b(使用时移动到梦幻空间)#k", 4, 1105004)
        } else {
            if (status === a++) {
                im.forceStartQuest(7998, "100000000");
                im.dispose();
                im.warp(913051200, 0, false)
            }
        }
    }
};